package com.tencreat.domain.mall;

import com.baomidou.mybatisplus.annotation.*;
import com.tencreat.common.annotation.Excel;
import com.tencreat.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


/**
 * 【请填写功能名称】对象 mall_lunbo
 *
 * @author tencreat
 * @date 2021-09-15
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
@TableName("mall_lunbo")
public class MallLunbo extends BaseEntity<MallLunbo>{
    private static final long serialVersionUID = 1L;


    /** 轮播图 */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Long id;


    /** 区id,-1:全部地区可见 */
    @Excel(name = "区id,-1:全部地区可见")
    @ApiModelProperty(value= "区id,-1:全部地区可见")
    @TableField("`area_id`")
    private Long areaId;


    /** 展示位置,关联：LocatTypeEnum */
    @Excel(name = "展示位置,关联：LocatTypeEnum")
    @ApiModelProperty(value= "展示位置,关联：LocatTypeEnum")
    @TableField("`locat_type`")
    private Integer locatType;


    /** 展示顺序 */
    @Excel(name = "展示顺序")
    @ApiModelProperty(value= "展示顺序")
    @TableField("`sort_num`")
    private Integer sortNum;


    /** 图片链接 */
    @Excel(name = "图片链接")
    @ApiModelProperty(value= "图片链接")
    @TableField("`img_url`")
    private String imgUrl;


    /** 跳转类型，关联：JumpTypeEnum */
    @Excel(name = "跳转类型，关联：JumpTypeEnum")
    @ApiModelProperty(value= "跳转类型，关联：JumpTypeEnum")
    @TableField("`jump_type`")
    private Integer jumpType;


    /** 跳转记录，关联：JumpRecordDB */
    @Excel(name = "跳转记录，关联：JumpRecordDB")
    @ApiModelProperty(value= "跳转记录，关联：JumpRecordDB")
    @TableField("`jump_record`")
    private String jumpRecord;


    /** 删除标志（0代表存在 2代表删除） */
    @TableLogic
    @TableField("`del_flag`")
    private String delFlag;






    /** 租户ID */
    @Excel(name = "租户ID")
    @ApiModelProperty(value= "租户ID")
    @TableField("`tenant_id`")
    private Long tenantId;


}
